import { DatabaseDao } from '../database/DatabaseDao'
import { Table } from './Table'

export class IDao<T extends Table<any>> {
  table: T
  dao: DatabaseDao<T>

  constructor(table: T, dao: DatabaseDao<T>) {
    this.table = table
    this.dao = dao
  }
}